package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 用户和历史薪级等级关联 sys_user_salary_history
 *
 * @author zy
 */
public class SysUserSalaryHistory {
    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 历史薪级等级id
     */
    private Long payId;

    /**
     * 历史薪级等级时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date historyTime;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getPayId() {
        return payId;
    }

    public void setPayId(Long payId) {
        this.payId = payId;
    }

    public Date getHistoryTime() {
        return historyTime;
    }

    public void setHistoryTime(Date historyTime) {
        this.historyTime = historyTime;
    }

    @Override
    public String toString() {
        return "SysUserSalary{" +
                "userId=" + userId +
                ", payId=" + payId +
                ", historyTime=" + historyTime +
                '}';
    }
}
